<!--左侧导航-->
<aside class="lyear-layout-sidebar">

    <!-- logo -->
    <div id="logo" class="sidebar-header">
        <a href="{:url('admin/index/index')}"><img src="{$system.Logo}" title="LightYear" alt="LightYear" /></a>
    </div>
    <div class="lyear-layout-sidebar-info lyear-scroll">
        {php}$navTitle=!empty($navTitle) ? $navTitle : '';{/php}
        {php}$navSmall=!empty($navSmall) ? $navSmall : '';{/php}
        <nav class="sidebar-main">
            <ul class="nav-drawer">
                <li class="nav-item {$navTitle == '后台首页' ? 'active' : ''}"> <a href="{:url('admin/index/index')}"><i
                            class="mdi mdi-home"></i>
                        <span>后台首页</span></a>
                <li class="nav-item {$navTitle == '网站配置' ? 'active' : ''}"> <a href="{:url('admin/config/index')}"><i
                            class="mdi mdi-tools"></i>
                        <span>网站配置</span></a>
                </li>
                <li class="nav-item nav-item-has-subnav {$navTitle == '管理员管理' ? 'active open' : ''}">
                    <a href="javascript:void(0)"><i class="mdi mdi-account-arrow-left"></i> <span>管理员管理</span></a>
                    <ul class="nav nav-subnav">
                        <li class="{$navSmall=='管理员列表' ? 'active' : '' }"> <a
                                href="{:url('admin/admin/adminlist')}">管理员列表</a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item nav-item-has-subnav {$navTitle == '用户管理' ? 'active open' : ''}">
                    <a href="javascript:void(0)"><i class="mdi mdi-account-group"></i> <span>用户管理</span></a>
                    <ul class="nav nav-subnav">
                        <li class="{$navSmall=='用户列表' ? 'active' : '' }"> <a
                                href="{:url('admin/user/userlist')}">用户列表</a>
                        </li>
                        <li class="{$navSmall=='用户积分记录' ? 'active' : '' }"> <a
                                href="{:url('admin/user/record')}">用户积分记录</a>
                        </li>
                        <li class="{$navSmall=='回收站' ? 'active' : '' }"> <a
                                href="{:url('admin/user/recyclebin')}">回收站</a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item nav-item-has-subnav {$navTitle == '问答管理' ? 'active open' : ''}">
                    <a href="javascript:void(0)"><i class="mdi mdi-grease-pencil"></i> <span>问答管理</span></a>
                    <ul class="nav nav-subnav">
                        <li class="{$navSmall=='帖子列表' ? 'active' : '' }"> <a
                                href="{:url('admin/post/postlist')}">帖子列表</a>
                        </li>
                        <li class="{$navSmall=='分类列表' ? 'active' : '' }"> <a
                                href="{:url('admin/post/catelist')}">分类列表</a>
                        </li>
                        <li class="{$navSmall=='回收站' ? 'active' : '' }"> <a
                                href="{:url('admin/post/recyclebin')}">回收站</a>
                        </li>
                    </ul>
                </li>
                <li class="nav-item nav-item-has-subnav {$navTitle == '数据统计' ? 'active open' : ''}">
                    <a href="javascript:void(0)"><i class="mdi mdi-circle-slice-6"></i> <span>数据统计</span></a>
                    <ul class="nav nav-subnav">
                        <li class="{$navSmall=='用户统计' ? 'active' : '' }"> <a
                                href="{:url('admin/analysis/user')}">用户统计</a> </li>
                        <li class="{$navSmall=='帖子统计' ? 'active' : '' }"> <a
                                href="{:url('admin/analysis/post')}">帖子统计</a> </li>
                        <li class="{$navSmall=='积分统计' ? 'active' : '' }"> <a
                                href="{:url('admin/analysis/record')}">积分统计</a> </li>
                    </ul>
                </li>
                <li class="nav-item nav-item-has-subnav {$navTitle == '商品管理' ? 'active open' : ''}">
                    <a href="javascript:void(0)"><i class="mdi mdi-baby-carriage"></i> <span>商品管理</span></a>
                    <ul class="nav nav-subnav">
                        <li class="{$navSmall=='商品列表' ? 'active' : '' }"> <a
                                href="{:url('admin/product/productlist')}">商品列表</a> </li>
                        <li class="{$navSmall=='商品分类' ? 'active' : '' }"> <a
                                href="{:url('admin/product/productsort')}">商品分类</a> </li>
                        <li class="{$navSmall=='回收站' ? 'active' : '' }"> <a
                            href="{:url('admin/product/recyclebin')}">回收站</a> </li>
                    </ul>
                </li>
                <li class="nav-item nav-item-has-subnav {$navTitle == '订单管理' ? 'active open' : ''}">
                    <a href="javascript:void(0)"><i class="mdi mdi-newspaper"></i> <span>订单管理</span></a>
                    <ul class="nav nav-subnav">
                        <li class="{$navSmall=='订单列表' ? 'active' : '' }"> <a
                                href="{:url('admin/order/orderlist')}">订单列表</a> </li>
                        <li class="{$navSmall=='退货列表' ? 'active' : '' }"> <a
                                href="{:url('admin/order/returnorder')}">退货列表</a> </li>
                    </ul>
                </li>
                <li class="nav-item {$navTitle == '配送平台' ? 'active' : ''}"> <a href="{:url('admin/express/expressIndex')}"><i
                    class="mdi mdi-truck-fast"></i>
                    <span>配送平台</span></a>
                </li>
            </ul>
        </nav>

        <div class="sidebar-footer">
            <p class="copyright">Copyright &copy;桂ICP备2021009052号 2022. <a target="_blank"
                    href="http://lyear.itshubao.com">ATHEN</a><br />
                All rights reserved.</p>
        </div>
    </div>

</aside>
<!--End 左侧导航-->